package com.ccc.demoboot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @Author wz
 * @Date 2024/6/4 9:02
 * @PackageName:com.ccc.demoboot.pojo
 * @ClassName: Post
*/

/**
 * 部门表
 */
@TableName(value = "post")
public class Post {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 岗位
     */
    @TableField(value = "post")
    private String post;

    /**
     * 所属部门
     */
    @TableField(value = "departmentid")
    private Integer departmentid;

    /**
     * 备注
     */
    @TableField(value = "Remarks")
    private String remarks;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取岗位
     *
     * @return post - 岗位
     */
    public String getPost() {
        return post;
    }

    /**
     * 设置岗位
     *
     * @param post 岗位
     */
    public void setPost(String post) {
        this.post = post;
    }

    /**
     * 获取所属部门
     *
     * @return departmentid - 所属部门
     */
    public Integer getDepartmentid() {
        return departmentid;
    }

    /**
     * 设置所属部门
     *
     * @param departmentid 所属部门
     */
    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

    /**
     * 获取备注
     *
     * @return Remarks - 备注
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * 设置备注
     *
     * @param remarks 备注
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}